/* 去除默认样式 */

* {
    margin: 0;
    padding: 0;
}

/* 标题样式 */

h1 {
    font-weight: 100;
    text-align: center;
    margin: 10px auto;
}

/* 游戏区域外层容器 */

.game {
    width: 600px;
    height: 600px;
    margin: 0 auto;
    position: relative;
    user-select: none;
}

/* 游戏区域的每一个小方块 */

.item {
    width: 200px;
    height: 200px;
    background: url('../img/ace.jpg') no-repeat;
    background-size: 600px;
    box-shadow: 0 0 5px black;
    transform: scale(0.95);
    border-radius: 10px;
    position: absolute;
    transition: all .5s;
}

/* 卡片编号 */

.cardNo {
    width: 100%;
    height: 100%;
    border: 1px solid;
    border-radius: 10px;
    background-color: rgb(9, 216, 216);
    font-size: 150px;
    color: #fff;
    line-height: 200px;
    text-align: center;
    transition: all .5s;
}

/* 控制面板外层容器 */

.panel {
    width: 600px;
    margin: 10px auto;
    display: flex;
    align-items: center;
}

/* 控制面板里面按钮 */

.panel>button {
    margin: 0 5px;
    width: 50px;
    height: 26px;
    border: none;
    font-size: 12px;
    color: rgb(82, 82, 82);
    cursor: pointer;
    user-select: none;
}

/* 计时 */

.panel>p {
    font-weight: 100;
    margin-left: 20px;
}